using AutoMapper;
using BlogSystem.Ability.Docking.NewsApp.Dto;
using BlogSystem.Ability.Docking.ReplyApp.Dto;
using BlogSystem.Ability.Docking.UserApp.Dto;
using BlogSystem.Domain.AccountInfo;
using BlogSystem.Domain.NewsInfo;

namespace BlogSystemSystem.Ability
{
    public class BlogSystemPrifile : Profile
    {
        public BlogSystemPrifile()
        {
            CreateMap<User, LoginSuccessDto>();
            CreateMap<CreateUserDto, User>();
            CreateMap<News, NewsDto>();
            CreateMap<ReplyCreateDto, Reply>();
            CreateMap<Reply, ReplyDto>();
        }
    }
}
